//
//  ThreadPool.h
//  helloworld
//
//  Created by didi on 11/06/2024.
//

#ifndef ThreadPool_h
#define ThreadPool_h

#import <Foundation/Foundation.h>

@interface ThreadPool : NSObject

- (instancetype)initWithSize:(NSUInteger)size;
- (void)execute:(void (^)(void))task;
- (void)shutdown;

@end


#endif /* ThreadPool_h */
